//
//  EFShoppingCardManager.h
//  EnjogFood
//
//  Created by 张文瀚 on 2017/5/21.
//  Copyright © 2017年 wf. All rights reserved.
//

#import <Foundation/Foundation.h>

//EFSepecialItem 数组中的对象
@class EFSepecialItem;
@interface EFShoppingCartManager : NSObject
@property (strong, nonatomic) NSMutableArray *scanProductsCart;   //快速结账 EFSepecialItem
@property (strong, nonatomic) NSMutableArray *storeProductsCart;  //普通商品 EFSepecialItem

@property (assign, nonatomic) CGFloat scanTotalPrice;
@property (assign, nonatomic) NSInteger scanCount;

@property (assign, nonatomic) CGFloat storeTotalPrice;
@property (assign, nonatomic) NSInteger storeCount;

- (void)uniqueScanProduct;
- (void)uniqueStoreProduct;
- (void)addToScanProduct:(EFSepecialItem *)item;
- (void)addToStoreProduct:(EFSepecialItem *)item;
- (void)addScanProduct:(EFSepecialItem *)item;
- (void)addStorProduct:(EFSepecialItem *)item;
- (void)subScanProduct:(EFSepecialItem *)item;
- (void)subStorProduct:(EFSepecialItem *)item;
- (void)removeObject:(NSString*)productId type:(NSInteger)type;  //1 快速扫描  0 商城

@end
